﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Acme.BookStore.Goods
{
    public class ProductDto
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public string ProductImages { get; set; }
        /// <summary>
        /// 商品标签
        /// </summary>
        public string ProductLabels { get; set; }
        /// <summary>
        /// 商品简介
        /// </summary>
        public string ProductDescription { get; set; }
        /// <summary>
        /// 商品详情
        /// </summary>
        public string ProductDetails { get; set; }
        /// <summary>
        /// 剩余库存
        /// </summary>
        public int Remaining { get; set; }
        /// <summary>
        /// 实际销量
        /// </summary>
        public int Actual { get; set; }
        /// <summary>
        /// 分类设置
        /// </summary>
        public string CategoricalSettings { get; set; }
        /// <summary>
        /// 销售价
        /// </summary>
        public decimal SalesPrice { get; set; }
        /// <summary>
        /// 原价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 可用抵扣
        /// </summary>
        public string Deductions { get; set; }
        /// <summary>
        /// 可用优惠
        /// </summary>
        public string Available { get; set; }
        /// <summary>
        /// 是否限购
        /// </summary>
        public int purchase { get; set; }
        /// <summary>
        /// 赠送好友(true:用户购买产品后可转增其他好友,false:用户购买产品后不转增其他好友)
        /// </summary>
        public bool Gift { get; set; }
        /// <summary>
        /// 其他须知
        /// </summary>
        public string Other { get; set; }
        /// <summary>
        /// 使用期限
        /// </summary>
        public string ExpirationDate { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 天数
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 可用日期
        /// </summary>
        public string AvailableDates { get; set; }

        /// <summary>
        /// 是否预约(true:无须预约,false:需要预约)
        /// </summary>
        public bool Booking { get; set; }
        /// <summary>
        /// 预约方式
        /// </summary>
        public string? MakeAppointment { get; set; }
        /// <summary>
        /// 预约时间类型
        /// </summary>
        public string? TimeType { get; set; }
        /// <summary>
        /// 预约确认(true:不需要，系统自动确认,false:需要，商家在后台确认预订，且超30分钟后自动确认)
        /// </summary>
        public bool Appointment { get; set; } = false;
        /// <summary>
        /// 时间(分钟)
        /// </summary>
        public int Minute { get; set; }
        /// <summary>
        /// 是否预约成功
        /// </summary>
        public string HowAppointment { get; set; }
        /// <summary>
        /// 其他规则
        /// </summary>
        public string Miscellaneous { get; set; }
        /// <summary>
        /// 上架设置（1代表立即上架，2代表暂不上架，3代表定时上架）
        /// </summary>
        public int Shelves { get; set; }
        /// <summary>
        /// 下架设置(true代表定时下架，false代表不定时下架)
        /// </summary>
        public bool TakenShelves { get; set; }
        /// <summary>
        /// 是否开启（true代表开启，false代表不开启）
        /// </summary>
        public bool Opens { get; set; }
        /// <summary>
        /// 时间（小时）
        /// </summary>
        public int Hour { get; set; }
        /// <summary>
        /// 领取方式
        /// </summary>
        public bool HowGet { get; set; }
        /// <summary>
        /// 海报标签
        /// </summary>
        public string PosterLabels { get; set; }
        /// <summary>
        /// 是否需要填写手机号
        /// </summary>
        public bool FilOut { get; set; }
        /// <summary>
        /// 是否发送手机短信
        /// </summary>
        public bool SMS { get; set; }
        /// <summary>
        /// 预留信息
        /// </summary>
        public string ReserveInformation { get; set; }
        /// <summary>
        /// 分享标题
        /// </summary>
        public string ShareTitle { get; set; }
        /// <summary>
        /// 分享描述
        /// </summary>
        public string ShareDescription { get; set; }
        /// <summary>
        /// 分享图片
        /// </summary>
        public string ShareImages { get; set; }
        /// <summary>
        /// 商品类型名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int DateSort { get; set; }
    }
}
